[tex Latex] Remove Endif From Algorithm Math Solves Everything

[tex Latex] Remove Endif From Algorithm Math Solves Everything